package com.wzl.demo_07_04;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;

public class SecondActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
        TextView tv1 = (TextView)findViewById(R.id.task_tv2);
        tv1.setText("taskid:"+getTaskId());

        Log.i(getClass().getName(), "onCreate: ");
    }
    public  void go(View view){
        Intent intent = new Intent(this, ThirdActivity.class);
        startActivity(intent);
    }


}